var express = require('express');
var router = express.Router();

var {Kzmodel}  = require('../model/kz')

router.get('/kz',async(req,res)=>{
  const kzdata = await Kzmodel.find()
  res.send({
    code:200,
    msg:"请求成功",
    kzdata
  }) 
})

module.exports = router